package com.shoe.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.Date;

@Document(collection="comment")
@Getter
@Setter
@ToString
public class ShoeEvaluate {
    private String id;//主键

    private Long orderNo;

    private String evaluateContent;

    private Byte evaluateLevel;

    private Integer replynum;//回复数

    private String parentid;//上级ID

    private String state;//状态

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date evaluateDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date updateTime;
}